<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>AI后台管理登录</title>
  <style>

  </style>
  <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
    integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  <link rel="shortcut icon" href="/admin/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="/admin/fonts/iconfont.css">
  <!-- 导入layui.css -->
  <link rel="stylesheet" href="/admin/lib/layui/css/layui.css" />
  <!-- 导入登录模块的样式 -->
  <link rel="stylesheet" href="/admin/css/login.css">
  <!-- 登录页面的雨布背景 -->
  <script src="/admin/js/loginbackground.js"></script>
  <!-- 导入登录交互功能 -->
  <script src="/admin/js/login.js"></script>
  <!-- 导入layuiJS -->
  <script src="/admin/lib/layui/layui.js"></script>
  <script>
    if(window != top) {
        top.location.href = location.href;
    }
  </script>
</head>

<body>
  <!--登录开始-->
  <div class="layui-card example getTop" style="width: 466px;">
    <div class="layui-card-header">
      <h1>后台登录页面</h1>
    </div>
    <div class="layui-card-body">
      <div>
        <form class="layui-form" action="">
          <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
              <input type="text" name="username" required lay-verify="required|username" placeholder="请输入用户名"
                autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">密码框</label>
            <div class="layui-input-block">
              <input type="password" name="password" required lay-verify="required|password" placeholder="请输入密码"
                autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="loginForm">立即提交</button>
              <button class="layui-btn layui-btn-normal" onclick="gotoRegister()">
                <a href="/admin/login/register" style="color: #fff;text-decoration: none;">
                  注册</a>
              </button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <!--登录结束-->

  <!-- 雨滴模块 -->
  <canvas id="canvas" style="position: absolute; height: 100%; width:100%;"></canvas>
</body>
<script>
  function gotoRegister() {
    
  }
</script>

</html>